#!/bin/bash
appName=$1
app_path=../applications/$appName
if [ $appName == "oui-app-interfaces" ] || [ $appName == "oui-app-system" ] ; then
  cp -r $app_path/vue/* ./src/
else
  cp $app_path/vue/app.vue ./src/
fi
npm  run build
cp -r dist/app.common.js $app_path/vue/dist/app.js